#include "database.h"

database::database()
{
    db= QSqlDatabase::addDatabase("QSQLITE");
    db.setDatabaseName("EX0.db3");

    if(db.open()){
        qDebug()<<db.tables();
    }else{
        qDebug()<<"DB No aberto";
    }
}
